package com.atxwq.shop.manager;

import com.atxwq.shop.common.log.annotation.EnableLogAspect;
import com.atxwq.shop.manager.properties.MinioProperties;
import com.atxwq.shop.manager.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

/**
 * @Description SpringBoot启动类
 * @Date 2025/5/7 13:39
 * @Created by 12336
 */

@EnableLogAspect
@SpringBootApplication
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
@ComponentScan(basePackages = {"com.atxwq.shop"})
@EnableScheduling
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
